Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tmf: Use query2D for querying histogram #6

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

arfio
Copy link
Contributor

@arfio arfio commented Feb 9, 2024

The previous implementation does a full query for each requested time. This patch now uses one query2D to calculate the same result.

Change-Id: Ic84d8a46536718c097de65b4b17df927f9368755

The previous implementation does a full query for each requested time.
This patch now uses one query2D to calculate the same result.

Signed-off-by: Arnaud Fiorini <fiorini.arnaud@gmail.com>
Change-Id: Ic84d8a46536718c097de65b4b17df927f9368755
@MatthewKhouzam
Copy link
Contributor

This looks great. I would like to know, can we make a helper library with this that can be used for all xy plot data providers?

@arfio
Copy link
Contributor Author

arfio commented Feb 13, 2024

I do not know if this specific change would be useful for all xy plot, but the DataDrivenXYProviderFactory can be used to create default XY data providers in a few lines of code that specify where to find the data in the state system.

Copy link
Contributor

@bhufmann bhufmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. The bug reported initially on the previous Gerrit patch is fixed. Thanks.

@MatthewKhouzam MatthewKhouzam merged commit 43bb363 into eclipse-tracecompass:master Feb 16, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants